package com.wcz.code.util;

import org.apache.log4j.Logger;

/**
 * @author 伪尘子
 *
 * 2012-6-20
 */
public class LoggerHelper {
	
	private Logger _infolog;
	private Logger _errorlog;
	
	public LoggerHelper(){
		_infolog=Logger.getLogger("info");
		_errorlog=Logger.getLogger("error");
	}
	
	
	public void info(Object message){
		_infolog.info(message);
	}
	
	public void error(Object message){
		_errorlog.error(message);
	}
	
}
